package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.OmsOrderOperateHistory;

import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【oms_order_operate_history(订单操作历史记录)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface OmsOrderOperateHistoryApi extends IService<OmsOrderOperateHistory> {

    List<OmsOrderOperateHistory> listByOrderId(Long orderId);

    void deleteByOrderIds(List<Long> ids);

    void insertOmsOrderOperateHistory(Long userId, List<Long> ids, int status, String note);


    void insertOmsOrderOperateHistory(Long userId, Long orderId, int status, String note);

}
